//
//  ShopViewController.h
//  TTFriend
//
//  Created by 李正兵 on 2019/5/5.
//  Copyright © 2019 李正兵. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTSCollectionViewDataSource.h"


@interface ShopViewController : UIViewController <TTSCollectionViewDataSourceDelegate>

@property (nonatomic, strong ,readwrite) NSMutableDictionary           *requestParams;

@property (nonatomic ,assign) NSInteger                                listType;
@property (nonatomic ,assign) BOOL                                     loaded;
@property (nonatomic ,assign) BOOL                                     usePullReload;

@property (nonatomic, assign) BOOL                                     useAS;

@property (nonatomic ,strong ,readwrite) UICollectionView              *collectionView;

@property (nonatomic, strong, readwrite) ASCollectionNode              *asCollectionNode;

@property (nonatomic ,strong ,readwrite) TTSCollectionViewDataSource   *dataSource;

@property (nonatomic, assign) BOOL                                     autoReloadCell;

- (void)registerCell:(Class)className;
- (void)registerSupplementaryView:(Class)className kind:(NSString*)kind;
- (void)registerSupplementaryView:(Class)className;
- (void)initCollectionLayout;

@end


